package com.banshuibao.bsb_android.model;

import java.util.List;

/**
 * Created by wangpan on 2018/5/25.
 */

public class RepositoryQueryModel {

    /**
     * code : 1
     * des : 请求成功
     * data : {"knowledgeTeacher":[{"uuid":"275d7ec555c04b9abeffc3ccf135bf70","title":"MySQL从删库到跑路","content":null,"type":"0","author":"海涛","clickNum":41,"source":"MySQL从删库到跑路","createDate":1526973306000,"createBy":"1","updateDate":1526974736000,"delFlag":"0","sort":2},{"uuid":"14b605465039463ea826f5cc9d15a3e5","title":"MySQL从删库到跑路","content":null,"type":"0","author":"海涛","clickNum":31,"source":"MySQL从删库到跑路","createDate":1526972928000,"createBy":"1","updateDate":1526974786000,"delFlag":"0","sort":2}],"knowledgeCollect":[{"uuid":"3d7a019e1e3d4d27810f21142482b6e4","title":"MySQL从删库到跑路","content":null,"type":"1","author":"海涛","clickNum":12,"source":"MySQL从删库到跑路","createDate":1526972883000,"createBy":"1","updateDate":1526974739000,"delFlag":"0","sort":5},{"uuid":"3e550d3a902d46b58e2380d8f212f9b3","title":"MySQL从删库到跑路","content":null,"type":"1","author":"海涛","clickNum":14,"source":"MySQL从删库到跑路","createDate":1526972839000,"createBy":"1","updateDate":null,"delFlag":"0","sort":4}]}
     * sinceId : 0
     * rows : 0
     * maxId : 0
     */

    private String code;
    private String des;
    private DataBean data;
    private int sinceId;
    private int rows;
    private int maxId;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getSinceId() {
        return sinceId;
    }

    public void setSinceId(int sinceId) {
        this.sinceId = sinceId;
    }

    public int getRows() {
        return rows;
    }

    public void setRows(int rows) {
        this.rows = rows;
    }

    public int getMaxId() {
        return maxId;
    }

    public void setMaxId(int maxId) {
        this.maxId = maxId;
    }

    public static class DataBean {
        private List<KnowledgeModel.DataBean> knowledgeTeacher;
        private List<KnowledgeModel.DataBean> knowledgeCollect;

        public List<KnowledgeModel.DataBean> getKnowledgeTeacher() {
            return knowledgeTeacher;
        }

        public void setKnowledgeTeacher(List<KnowledgeModel.DataBean> knowledgeTeacher) {
            this.knowledgeTeacher = knowledgeTeacher;
        }

        public List<KnowledgeModel.DataBean> getKnowledgeCollect() {
            return knowledgeCollect;
        }

        public void setKnowledgeCollect(List<KnowledgeModel.DataBean> knowledgeCollect) {
            this.knowledgeCollect = knowledgeCollect;
        }

        public static class KnowledgeTeacherBean {
            /**
             * uuid : 275d7ec555c04b9abeffc3ccf135bf70
             * title : MySQL从删库到跑路
             * content : null
             * type : 0
             * author : 海涛
             * clickNum : 41
             * source : MySQL从删库到跑路
             * createDate : 1526973306000
             * createBy : 1
             * updateDate : 1526974736000
             * delFlag : 0
             * sort : 2
             */

            private String uuid;
            private String title;
            private Object content;
            private String type;
            private String author;
            private int clickNum;
            private String source;
            private long createDate;
            private String createBy;
            private long updateDate;
            private String delFlag;
            private int sort;

            public String getUuid() {
                return uuid;
            }

            public void setUuid(String uuid) {
                this.uuid = uuid;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public Object getContent() {
                return content;
            }

            public void setContent(Object content) {
                this.content = content;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getAuthor() {
                return author;
            }

            public void setAuthor(String author) {
                this.author = author;
            }

            public int getClickNum() {
                return clickNum;
            }

            public void setClickNum(int clickNum) {
                this.clickNum = clickNum;
            }

            public String getSource() {
                return source;
            }

            public void setSource(String source) {
                this.source = source;
            }

            public long getCreateDate() {
                return createDate;
            }

            public void setCreateDate(long createDate) {
                this.createDate = createDate;
            }

            public String getCreateBy() {
                return createBy;
            }

            public void setCreateBy(String createBy) {
                this.createBy = createBy;
            }

            public long getUpdateDate() {
                return updateDate;
            }

            public void setUpdateDate(long updateDate) {
                this.updateDate = updateDate;
            }

            public String getDelFlag() {
                return delFlag;
            }

            public void setDelFlag(String delFlag) {
                this.delFlag = delFlag;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }
        }

        public static class KnowledgeCollectBean {
            /**
             * uuid : 3d7a019e1e3d4d27810f21142482b6e4
             * title : MySQL从删库到跑路
             * content : null
             * type : 1
             * author : 海涛
             * clickNum : 12
             * source : MySQL从删库到跑路
             * createDate : 1526972883000
             * createBy : 1
             * updateDate : 1526974739000
             * delFlag : 0
             * sort : 5
             */

            private String uuid;
            private String title;
            private Object content;
            private String type;
            private String author;
            private int clickNum;
            private String source;
            private long createDate;
            private String createBy;
            private long updateDate;
            private String delFlag;
            private int sort;

            public String getUuid() {
                return uuid;
            }

            public void setUuid(String uuid) {
                this.uuid = uuid;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public Object getContent() {
                return content;
            }

            public void setContent(Object content) {
                this.content = content;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getAuthor() {
                return author;
            }

            public void setAuthor(String author) {
                this.author = author;
            }

            public int getClickNum() {
                return clickNum;
            }

            public void setClickNum(int clickNum) {
                this.clickNum = clickNum;
            }

            public String getSource() {
                return source;
            }

            public void setSource(String source) {
                this.source = source;
            }

            public long getCreateDate() {
                return createDate;
            }

            public void setCreateDate(long createDate) {
                this.createDate = createDate;
            }

            public String getCreateBy() {
                return createBy;
            }

            public void setCreateBy(String createBy) {
                this.createBy = createBy;
            }

            public long getUpdateDate() {
                return updateDate;
            }

            public void setUpdateDate(long updateDate) {
                this.updateDate = updateDate;
            }

            public String getDelFlag() {
                return delFlag;
            }

            public void setDelFlag(String delFlag) {
                this.delFlag = delFlag;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }
        }
    }
}
